package service.v2;

import java.util.List;

import model.BankVO;
import model.CashRechargeVO;
import model.LogBuyCashVO;
import model.LogCashDrawVO;
import model.LogEarnVO;
import model.OrderPayVO;

public interface MoneyService {

	String getUnSettledMoney(String member_id);

	int insertDraw(LogCashDrawVO drawVO, String member_id, String type, String free_cash);

	int selectMemberById(String logcashdraw_id,String member_id);

	int getTotal(LogBuyCashVO logBuyCashVO);

	List<LogBuyCashVO> selectLogBuyCashList(LogBuyCashVO logBuyCashVO);

	int checkLogBuyCashById(String logByCashId);

	LogBuyCashVO selectLogBuyCashOne(String logByCashId, String member_id);

	int getUnSettlementTotal(String member_id, String lang);

	List<LogEarnVO> selectUnSettlementList(String member_id, LogEarnVO logEarnVO, String lang);

	int checkUnSettlementOneById(String unSettlement_id);

	LogEarnVO selectUnSettlementOne(String unSettlement_id, String member_id);

	int checkIncomeAndExpensesOne(String member_id, String incomeAndExpenses_id);

	LogEarnVO selectIncomeAndExpensesOne(String member_id, String incomeAndExpenses_id);

	int getIncomeAndExpensesTotal(LogEarnVO logEarnVO);

	List<LogEarnVO> selectIncomeAndExpensesList(LogEarnVO logEarnVO);

	int getWithdrawDepositTotal(String member_id, String lang);

	List<LogEarnVO> selectWithdrawDepositLog(String member_id, LogEarnVO logEarnVO, String lang);

	LogEarnVO selectWithdrawDepositLogOne(String member_id, String withdrawDeposit_id);

	String getRechargeNoById(String id);

	CashRechargeVO getRechargeByNo(String out_trade_no);

	void updateRechargeSuccessAndAddCash(OrderPayVO payVO);

	void deleteRechargeOrderById(String id);

	int updateNoReadMessages(List<LogEarnVO> myAssetsList);

	int getMyAssetsTotalById(LogEarnVO logEarnVO);
	
	List<LogEarnVO> selectAllMessageById(LogEarnVO logEarnVO);

	String getawardName(String award_id);

	double calcFee(String type, String member_id, String free_cash);

	List<LogEarnVO> selectRechargeTicketAwardList(String memberId, String connNo);

	List<LogEarnVO> selectBuyGoodsProfitAwardList(String memberId, String order_id);

	List<LogEarnVO> selectBuyGoodsPackageProfitAwardList(String memberId, String order_id);

	LogEarnVO packPaginationInfo(LogEarnVO logEarnVO);

	LogBuyCashVO packPaginationInfo(LogBuyCashVO logBuyCashVO);

	String getIncomeSumMoney(String member_id);

	BankVO getDrawBank(String bank_id);

	double calcFeeDetail(String free_cash, BankVO bankVO);

	String getUnSettledMoneyEn(String member_id);

	int insertDrawInter(LogCashDrawVO drawVO, String member_id, String type, String free_cash);

	void updateRechargeSuccessAndAddCashEn(OrderPayVO payVO);

	String getRateCash(String id);

}
